//
//  BaseViewController.m
//  Craft
//
//  Created by BetaTheta on 16/3/4.
//  Copyright © 2016年 BetaTheta. All rights reserved.
//

#import "BaseViewController.h"
#import "MBProgressHUD+NJ.h"
@interface BaseViewController ()


@end

@implementation BaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
   
    
   
    // 背景颜色
    self.view.backgroundColor = [UIColor whiteColor];
    
    /***** 导航栏设置 *****/
    /**< 半透明效果 */
    self.navigationController.navigationBar.translucent = NO;
    // 不透明下 坐标原点在导航栏左下角
    self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:0.224 green:0.224 blue:0.255 alpha:1.000];// 导航栏颜色
    //按钮颜色
    self.navigationController.navigationBar.tintColor =[UIColor whiteColor];
    //字体颜色
    [self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor]}];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
